#define _CRT_SECURE_NO_WARNINGS 1
#include"queue.h"
void Test1()
{
	lsx::queue<int> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4);
	q.push(5);
	q.push(6);
	q.push(7);
	cout << q.size() << endl;
	while (!q.empty())
	{
		cout << q.front()<<" ";
		q.pop();
	}
	cout << endl;
	const lsx::queue<int> q2 = q;
	cout << q2.size() << endl;
	if (!q2.empty())
	{
		cout << q2.back() << " ";
	}
}
int main()
{
	Test1();
	return 0;


}